package me.zhengjie.modules.rabbitmq;
 
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
@Configuration
@SuppressWarnings("all")
public class RabbitConfig {

          @Bean
          public Queue firstQueue() {
              return new Queue("firstQueue");
          }
}
